package moreHealthException;


//if the length of the String is more than a specific character. 
//NOTE: This can been used as a general purpose Exception also. 
public class StringLengthException extends Exception
	{
		private String returnDefaultValuex_ = "Default Name";
		
		public StringLengthException(){
			
		}
		
		public StringLengthException(String defaultValue){
			this.returnDefaultValuex_ = defaultValue;
		}
		
		public String getReturnDefaultValue(){
			return returnDefaultValuex_;
		}
		
	}
